package com.iring.domain.config.prop;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * vos 话机配置属性
 *
 * @author wanggan
 */
@Component
@ConfigurationProperties(prefix = "com.zycoo.vos.phone")
public class VOSPhoneProperties {

    private Boolean autoCreateAccount;

    private Integer callLevel;

    private String feerateGroup;

    private Double monthlyMoneyMinimum;

    private Integer failedProcessMode;

    @Override
    public String toString() {
        return "{autoCreateAccount:" + autoCreateAccount + ",callLevel:" + callLevel
                + ",feerateGroup:" + feerateGroup + ",monthlyMoneyMinimum:" + monthlyMoneyMinimum
                + ",failedProcessMode:" + failedProcessMode + "}";
    }

    public Boolean getAutoCreateAccount() {
        return autoCreateAccount;
    }

    public Integer getCallLevel() {
        return callLevel;
    }

    public String getFeerateGroup() {
        return feerateGroup;
    }

    public Double getMonthlyMoneyMinimum() {
        return monthlyMoneyMinimum;
    }

    public Integer getFailedProcessMode() {
        return failedProcessMode;
    }

    public void setAutoCreateAccount(Boolean autoCreateAccount) {
        this.autoCreateAccount = autoCreateAccount;
    }

    public void setCallLevel(Integer callLevel) {
        this.callLevel = callLevel;
    }

    public void setFeerateGroup(String feerateGroup) {
        this.feerateGroup = feerateGroup;
    }

    public void setMonthlyMoneyMinimum(Double monthlyMoneyMinimum) {
        this.monthlyMoneyMinimum = monthlyMoneyMinimum;
    }

    public void setFailedProcessMode(Integer failedProcessMode) {
        this.failedProcessMode = failedProcessMode;
    }
}
